package AsyncTask;

import com.adgroup.doremon_ad.R;
import com.adgroup.doremon_ad.LoginActivity;

import adapter.JsonParse;
import android.app.ProgressDialog;
import android.content.Context;
import android.os.AsyncTask;

public class SendView extends AsyncTask<Void, Void, String>{
	
	String videoID;
	Context context;
	public SendView(Context context, String videoID){
		this.videoID = videoID;
		this.context = context;
	}
	@Override
	protected void onPreExecute() {
		// TODO Auto-generated method stub
		super.onPreExecute();
	}
	@Override
	protected String doInBackground(Void... params) {
		return JsonParse.getInstance().sendView(videoID);
	}
	@Override
	protected void onPostExecute(String result) {
		// TODO Auto-generated method stub
		super.onPostExecute(result);
	}
}
